package leetcode;

class Solution {
    public static void main(String[] args) {
        String str = "123az45d67xyz89";
        str = str.replaceAll("[a-z]+","***");
        System.out.println(str);
    }
}
